import { programTitle } from "../../setting";

Page({
  data: {
    jumpUrl: '',
    title: '租赁新经济 财富新赛道',
    desc: '租赁新经济 财富新赛道',
  },
  onLoad(option){
    this.setData({
      jumpUrl: option.jumpUrl
    })
    if(option.jumpType == 1){
      my.setNavigationBar({ title: '详情' });
      this.setData({
        title: programTitle + '租赁平台',
        desc: programTitle + '租赁平台'
      })
    } else {
      my.setNavigationBar({ title: '租赁新经济 财富新赛道' });
    }
  },
  onShareAppMessage(options) {
    const that = this
    return {
      title: that.data.title,
      desc: that.data.desc,
      path: 'pages/webView/webView',
      'web-view': options.webViewUrl,
    };
  },
  onmessage(e){
  }
});
